package com.ruoyi.orderview.utils;

import com.ruoyi.orderview.domain.ProductionParam;
import org.springframework.stereotype.Component;
/**
 * Author 许家森
 * Date 2022/2/22
 * Email 3448324670@qq.com
 */
@Component
public class ProductionDistinguish {
    private String purchase;
    private String consume;
    private String consumetemporary;
    private String returna;
    private String storage;
    private String distinguish;
    public ProductionDistinguish(){}
    public ProductionDistinguish(ProductionParam productionParam){
        distinguish=productionParam.getProductiontype();
        purchase=distinguish+"_purchase";
        consume=distinguish+"_consume";
        consumetemporary=distinguish+"_consume_temporary";
        returna=distinguish+"_return";
        storage=distinguish+"_amount";
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getConsumetemporary() {
        return consumetemporary;
    }

    public void setConsumetemporary(String consumetemporary) {
        this.consumetemporary = consumetemporary;
    }

    public String getReturna() {
        return returna;
    }

    public void setReturna(String returna) {
        this.returna = returna;
    }


    public String getDistinguish() {
        return distinguish;
    }

    public void setDistinguish(String distinguish) {
        this.distinguish = distinguish;
    }

    public String getPurchase() {
        return purchase;
    }

    public void setPurchase(String purchase) {
        this.purchase = purchase;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }
}
